package com.ruoyi.bank.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 产品文章政策条目类主题对象 article
 * 
 * @author ruoyi
 * @date 2022-06-16
 */
public class Article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long articleId;

    /** 产品来源:如建设银行，交通银行
政策可不填 */
    @Excel(name = "产品来源:如建设银行，交通银行政策可不填")
    private Long companyId;

    /** 字典 */
    @Excel(name = "字典")
    private Long articleType;

    /** 字典 */
    @Excel(name = "字典")
    private Long articleSubType;

    /** 政策/产品标题 */
    @Excel(name = "政策/产品标题")
    private String articleTitle;

    /** 金融产品介绍、政策文本介绍，图片上 */
    @Excel(name = "金融产品介绍、政策文本介绍，图片上")
    private String articleContext;

    /** 产品或文章右侧小图片地址，如http:/// */
    @Excel(name = "产品或文章右侧小图片地址，如http:///")
    private String articleLogoPic;

    /** 1：银行 2：小贷  3:其他中介 */
    @Excel(name = "1：银行 2：小贷  3:其他中介")
    private Long companyType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginDate;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 最低贷款利率 */
    @Excel(name = "最低贷款利率")
    private BigDecimal minRate;

    /** 最高贷款利率 */
    @Excel(name = "最高贷款利率")
    private BigDecimal maxRate;

    /** 贷款最大额度 */
    @Excel(name = "贷款最大额度")
    private Long loanLimit;

    /** 贷款年限 */
    @Excel(name = "贷款年限")
    private Long loanYear;

    /** 是否抵押 */
    @Excel(name = "是否抵押")
    private Long isMortgage;

    /** 联系人 */
    @Excel(name = "联系人")
    private String connectName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String connectPhone;

    /** 1：上架，0：下架 */
    @Excel(name = "1：上架，0：下架")
    private Long recStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUserId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUserId;

    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setArticleType(Long articleType) 
    {
        this.articleType = articleType;
    }

    public Long getArticleType() 
    {
        return articleType;
    }
    public void setArticleSubType(Long articleSubType) 
    {
        this.articleSubType = articleSubType;
    }

    public Long getArticleSubType() 
    {
        return articleSubType;
    }
    public void setArticleTitle(String articleTitle) 
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle() 
    {
        return articleTitle;
    }
    public void setArticleContext(String articleContext) 
    {
        this.articleContext = articleContext;
    }

    public String getArticleContext() 
    {
        return articleContext;
    }
    public void setArticleLogoPic(String articleLogoPic) 
    {
        this.articleLogoPic = articleLogoPic;
    }

    public String getArticleLogoPic() 
    {
        return articleLogoPic;
    }
    public void setCompanyType(Long companyType) 
    {
        this.companyType = companyType;
    }

    public Long getCompanyType() 
    {
        return companyType;
    }
    public void setBeginDate(Date beginDate) 
    {
        this.beginDate = beginDate;
    }

    public Date getBeginDate() 
    {
        return beginDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setMinRate(BigDecimal minRate) 
    {
        this.minRate = minRate;
    }

    public BigDecimal getMinRate() 
    {
        return minRate;
    }
    public void setMaxRate(BigDecimal maxRate) 
    {
        this.maxRate = maxRate;
    }

    public BigDecimal getMaxRate() 
    {
        return maxRate;
    }
    public void setLoanLimit(Long loanLimit) 
    {
        this.loanLimit = loanLimit;
    }

    public Long getLoanLimit() 
    {
        return loanLimit;
    }
    public void setLoanYear(Long loanYear) 
    {
        this.loanYear = loanYear;
    }

    public Long getLoanYear() 
    {
        return loanYear;
    }
    public void setIsMortgage(Long isMortgage) 
    {
        this.isMortgage = isMortgage;
    }

    public Long getIsMortgage() 
    {
        return isMortgage;
    }
    public void setConnectName(String connectName) 
    {
        this.connectName = connectName;
    }

    public String getConnectName() 
    {
        return connectName;
    }
    public void setConnectPhone(String connectPhone) 
    {
        this.connectPhone = connectPhone;
    }

    public String getConnectPhone() 
    {
        return connectPhone;
    }
    public void setRecStatus(Long recStatus) 
    {
        this.recStatus = recStatus;
    }

    public Long getRecStatus() 
    {
        return recStatus;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("articleId", getArticleId())
            .append("companyId", getCompanyId())
            .append("articleType", getArticleType())
            .append("articleSubType", getArticleSubType())
            .append("articleTitle", getArticleTitle())
            .append("articleContext", getArticleContext())
            .append("articleLogoPic", getArticleLogoPic())
            .append("companyType", getCompanyType())
            .append("beginDate", getBeginDate())
            .append("endDate", getEndDate())
            .append("minRate", getMinRate())
            .append("maxRate", getMaxRate())
            .append("loanLimit", getLoanLimit())
            .append("loanYear", getLoanYear())
            .append("isMortgage", getIsMortgage())
            .append("connectName", getConnectName())
            .append("connectPhone", getConnectPhone())
            .append("recStatus", getRecStatus())
            .append("createTime", getCreateTime())
            .append("createUserId", getCreateUserId())
            .append("updateTime", getUpdateTime())
            .append("updateUserId", getUpdateUserId())
            .toString();
    }
}
